<template>
  <div>
    <el-button @click="btnClick">消息提示</el-button>
  </div>
</template>
<script>

export default {
  methods: {
    btnClick() {
      // this.$message.success('成功')
      // this.$message.error('失败')
      // this.$message.warning('警告')
      // this.$message.info('信息')
      this.$message('信息')
      /*
        js:
          import {Message} from 'element-ui'
          Message====this.$message
          Message.success('成功')
      */
    }
  }
}
</script>
<style>
</style>>
